package config

type SmpConfig struct {
	Host       string `mapstructure:"host" yaml:"host"`
	Port       int    `mapstructure:"port" yaml:"port"`
	Username   string `mapstructure:"username" yaml:"username"`
	Password   string `mapstructure:"password" yaml:"password"`
	Encryption string `mapstructure:"encryption" yaml:"encryption"`
}

type FromConfig struct {
	Address string `mapstructure:"address" yaml:"address"`
	Name    string `mapstructure:"name" yaml:"name"`
}

type MailConfig struct {
	Smtp SmpConfig
	From FromConfig
}
